//
//  DescriptionViewController.m
//  Hand shadow
//
//  Created by A-01 on 2020/7/21.
//  Copyright © 2020 A-01. All rights reserved.
//

#import "DescriptionViewController.h"

@interface DescriptionViewController ()

@property (nonatomic, weak)UILabel * contentLab;

@end

@implementation DescriptionViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.titleLabel.text = @"Description";
    [self setupUI];
}


- (void)setupUI{
    
    UILabel * showLabel = [UILabel new];
    
    showLabel.text = @"Hand Shadow Game is an app that helps children to know their hand shadow and record their own hand shadow works. Through the change of gestures, creating the image of various objects is the charm of the hand shadow. The role of hand shadow is more to inspire children association ability. The app has an introduction to the shadows, and appreciate complex hand-shadow works can also record your hand-painted works and guess what animals are by the hand shadow.";
    showLabel.textColor = ZRBlackColor;
    showLabel.font = [UIFont fontWithName:@"Chalkduster" size:16];
    showLabel.numberOfLines = 0;
        
    self.contentLab = showLabel;
        
    [self.view addSubview:self.contentLab];
    
}

- (void)viewDidLayoutSubviews{
    
    [super viewDidLayoutSubviews];
    
    [self.contentLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.centerY.mas_equalTo(self.view);
        make.width.mas_equalTo(510);
    }];
}

@end
